<!doctype html>
<html lang="zh-hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<!-- css -->
<link rel="stylesheet" href='<?=base_url().'resource/lib/bootstrap/css/bootstrap.min.css'?>'>

<!-- js -->
<script src='<?=base_url().'resource/lib/bootstrap/jquery-2.1.1.min.js'?>'></script>
<script src='<?=base_url().'resource/lib/bootstrap/js/bootstrap.min.js'?>'></script>

<title><?php echo $title;?></title>

<script>


/* 缓存 */
window.onload = function() { 
	var openId = document.getElementById("openId"); 
	var uid = document.getElementById("uid");
	var name = document.getElementById("name"); 
	var state = document.getElementById("state"); 
	
	sessionStorage.setItem("openId", openId.value); 
	sessionStorage.setItem("name", name.value);
	sessionStorage.setItem("uid", uid.value);
	sessionStorage.setItem("state", state.value);
// 	alert("信息已经保存");

// 	var msg = sessionStorage.getItem("state"); 
// 	alert("用户状态为"+msg);
	
}

function tijiao(){ 
    document.form1.submit();
}     
    
</script>  
</head>
<body>
<div class="container" >
<div class="row">



<!-- 隐藏域 -->
<div id="">
	<!-- 实际部署替换
	http://jjr2.51waji.com/index.php/main_control/entrance   entrance_do
	http://192.168.33.10/CI/index.php/main_control/entrance   entrance_do
	 -->
    <form name="form1"  action="<?=base_url().'/index.php/main_control/entrance_do'?>" method="post"> 
    <div class="form-group hide"> 
    <div class="input-group">
    
    <input type="text"  name="openId" id="openId"  value="<?php echo $openId;?>"><br>
    <input type="text"  name="name" id="name"  value="<?php echo $name;?>"><br>
    <input type="text"  name="state" id="state"  value="<?php echo $state;?>"><br>
    <input type="text"  name="uid" id="uid"  value="<?php echo $uid;?>"><br>

    </div><!-- input-group -->
    </div><!-- form-group -->
    </form>
</div>

<div class="col-xs-4"></div>
<div class="col-xs-4">
    <div class="btn-group-vertical" role="group" aria-label="...">
    <p><button type="button" class="btn btn-success btn-lg" onClick="tijiao()">点击进入</button></p>
    </div>   
</div>
<div class="col-xs-4"></div>



</div>
</div>
</body>
</html>